<template>
	<view>
		<swiper>
			<swiper-item>
				
			</swiper-item>
		</swiper>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id: 0,
				swipers:[]
			}
		},
		methods: {
			async getSwipers() {
				const res = await this.$myRequest({
					url: "/api/getthumimages/imgid" + this.id
				})
				this.swipers = res.data.message
			}
		},
		onLoad(options) {
			this.id = options.id
			this.getSwipers()
		}
	}
</script>

<style>

</style>
